package com.gecba.modular.jpa.annotion;

import org.hibernate.annotations.GenericGenerator;

import java.lang.annotation.*;

import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.ElementType.FIELD;

/**
 * @author ChenBo
 * @annotationName GeneratedWorkId
 * @date 2021/9/9
 */
@Target({PACKAGE, TYPE, METHOD, FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@GenericGenerator(name = "idWorker", strategy = "com.gecba.modular.jpa.IdWorkerGenerator")
public @interface GeneratedWorkId {
}
